using System;
using Iesi.Collections.Generic;

namespace Clanta.Core.Domain
{
    public class User
    {
        #region Constructors

        #endregion

        #region Properties

        public virtual Guid UserId
        {
            get { return userId; }
            set { userId = value; }
        }

        public virtual string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        public virtual ISet<Customer> Customers
        {
            get { return customers; }
            protected set { customers = value; }
        }

        #endregion

        #region Fields

        private Guid userId;
        
        private string userName;
        
        private ISet<Customer> customers = new HashedSet<Customer>();

        #endregion
    }
}
